function PlotTfcData( subjectinfo, cfg )
%PLOTTFCDATA Summary of this function goes here
%   Detailed explanation goes here

if ~exist('cfg','var'); cfg = plotTfcData_defaultCfg(); end;

if exist('subjectinfo', 'var')
    % Process the subject
    fn = fieldnames(subjectinfo.EpochData);
    for i = 1:length(fn)
        filename = subjectinfo.EpochData.(fn{i}).TfcDatafile;
        channelregions = {subjectinfo.Electrodes.Label;subjectinfo.Electrodes.Region}';
        plotTfcData_Core( filename, subjectinfo.PrimaryPrefix, channelregions, cfg );
    end
% else
%     plotTfcData_Core( 'D:\ECoG\Data\Timefreq\DS FaceHouseAmbiguousHouseResponses Tfc.mat', 'DS', [], cfg );
% end

end





